Problem Note 39928: Exception received when attempting to send a report with a DBCS name to an e-mail recipient
In SAS® Enterprise Guide, if you attempt to e-mail a report that contains a double byte character set (DBCS) in the name of the report, you might receive the following exception:
Xceed.Zip.InvalidZipStructureException
Could not find a central header where one was expected in the zip file.
Type: Xceed.Zip.ZipArchive
FullName: \
Zip file: C:\Documents and Settings\userid\Local
Settings\Temp\SEG8156\f78f1ba0-4e73-4942-8af2-4d8650c87467\Report.zip
------------------------------ Technical Information Follows
------------------------------
Xceed.Zip.InvalidZipStructureException: Could not find a central header where
one was expected in the zip file.
Type: Xceed.Zip.ZipArchive
FullName: \
Zip file: C:\Documents and Settings\userid\Local
Settings\Temp\SEG8156\f78f1ba0-4e73-4942-8af2-4d8650c87467\Report.zip
at Xceed.FileSystem.AbstractFile.CopyTo(FileSystemEvents events, Object
userData, AbstractFile destinationFile, Boolean replaceIfExists)
at Xceed.FileSystem.AbstractFile.CopyTo(AbstractFile destinationFile, Boolean
replaceIfExists)
at
SAS.EG.ProjectElements.SendToMailHelper.CopyPhysicalDirectoryToZipDirectory(Dire
ctoryInfo physicalDirectory, AbstractFolder zippedFolder)
at
SAS.EG.ProjectElements.SendToMailHelper.CopyPhysicalDirectoryToZipDirectory(Dire
ctoryInfo physicalDirectory, AbstractFolder zippedFolder)
at
SAS.EG.ProjectElements.SendToMailHelper.CreateZipFileFromDirectory(DirectoryInfo
directory, String defaultFileName)
at SAS.EG.ProjectElements.SendToMailHelper.Send(Element element, String
profile, String password, StringCollection toList, StringCollection copyList,
StringCollection blindCopyList, String subject, String text, Boolean prompt)
at SAS.EG.ProjectElements.SendToMailHelper.Send(Element element)
at SAS.EG.ProjectElements.Element.SendToMailRecipient()
at SAS.EG.SEGuide.MainForm.SendToMailInvoked(Element element)
The problem is that the .zip files do not support unicode characters. The circumvention is to use Ascii characters as the filename of the report.
Operating System and Release Information
SAS System | SAS Enterprise Guide | Microsoft® Windows® for x64 | 4.2 | 4.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 4.2 | 4.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 4.2 | 4.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 4.2 | 4.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 for x64 | 4.2 | 4.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2008 for x64 | 4.2 | 4.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 4.2 | 4.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Windows Vista | 4.2 | 4.3 | 9.2 TS2M0 | 9.3 TS1M0 |
Windows Vista for x64 | 4.2 | 4.3 | 9.2 TS2M0 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2010-06-10 15:05:24 |
Date Created: | 2010-06-08 11:58:10 |